﻿using System.Threading;
using System.Threading.Tasks;
using Onetube.Entities.ChannelsQuery;

namespace Onetube.Providers.Interfaces
{
    public interface IYoutubeChannelProvider
    {
        Task<ChannelsQueryResult> SearchChannelByIdAsync(string id, CancellationTokenSource cancelTask);

        Task<Onetube.Models.SearchChannel.SearchChannelResult> GetMostViewedChannelsAsync(string RegionCode, string maxResults, CancellationTokenSource cancelTask);

        Task<ChannelsQueryResult> GetMyChannelInfoAsync(string Token, CancellationTokenSource cancelTask);
    }
}